@echo off
echo Monitoring application startup...
echo.
:loop
echo Checking port 8080 at %time%...
netstat -ano | findstr :8080 >nul
if %errorlevel% equ 0 (
    echo Application is running on port 8080!
    pause
    exit
) else (
    echo Application not yet started, waiting...
    timeout /t 5 /nobreak >nul
    goto loop
)
